Xbasic

UI_BITMAP_DROP Function

Syntax

Result_Flag as L = UI_BITMAP_DROP(C name)

Arguments

name

The name of a bitmap in memory. Character

Description

Drop a bitmap from the bitmap cache, returns TRUE if bitmap was in cache.

Discussion

The UI_BITMAP_DROP() function removes a named bitmap from memory. It is necessary to delete bitmaps created with UI_BITMAP_CREATE()after you are finished with them.

Example

ui_bitmap_create_from_screen("test", 0, 0, 4, 1)
? ui_bitmap_drop("test")
= .T.

Limitations

Desktop applications only.

See Also